<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-reality-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">计量点名称：</label>
				<div class="col-sm-8">
					<input id="pointName" name="pointName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">计量点ID：</label>
				<div class="col-sm-8">
					<input id="pointId" name="pointId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">录入基础ID：</label>
				<div class="col-sm-8">
					<input id="basicsId" name="basicsId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">电量：</label>
				<div class="col-sm-8">
					<input id="eleAccount" name="eleAccount" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">电价：</label>
				<div class="col-sm-8">
					<input id="elePrice" name="elePrice" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">电费：</label>
				<div class="col-sm-8">
					<input id="eleF" name="eleF" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">基金及附加单价：</label>
				<div class="col-sm-8">
					<input id="jJPrice" name="jJPrice" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">政府性基金及附加金额：</label>
				<div class="col-sm-8">
					<input id="zzJJPrice" name="zzJJPrice" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">到户电价：</label>
				<div class="col-sm-8">
					<input id="dHPrice" name="dHPrice" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">到户电费：</label>
				<div class="col-sm-8">
					<input id="dHAcount" name="dHAcount" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "service/reality"
		$("#form-reality-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-reality-add').serialize());
	        }
	    }
	</script>
</body>
</html>
